package com.parkingspace.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 物业公司与用户表的中间表
 * </p>
 *
 * @author Gapper
 * @since 2021-05-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class PropertyBetweenUser implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
      @TableId(value = "pub_id", type = IdType.ASSIGN_ID)
    private Long pubId;

    /**
     * 物业表主键ID
     */
    private Long pbuPropertyId;

    /**
     * 用户表主键ID
     */
    private Long pbuUserId;


}
